from head.Init_Driver import SurveyExaminationSystem_Driver

from Test import Test_Login
from Test import Test_Register
from Test import Test_Home
from Test import Test_MyPractice
from Test import Test_MyProject
from Test import Test_QuestionBankCenter
from Test import Test_SystemManagement

if __name__ == "__main__":
    Test_Login.Login().LoginSucceed()
    Test_Login.Login().LoginFail()
    Test_Register.Register().RegisterFail()
    Test_Register.Register().RegisterSucceed()
    Test_Home.Home().HomeUIFuncTest()
    Test_MyProject.MyProject().MyProjectUIFuncTest()
    Test_MyPractice.MyPractice().MyPracticeUIFuncTest()
    Test_QuestionBankCenter.QuestionBankCenter().MyQuestionBankUIFuncTest()
    Test_QuestionBankCenter.QuestionBankCenter().ProblemManagementUIFuncTest()
    Test_QuestionBankCenter.QuestionBankCenter().MyNotesUIFuncTest()
    Test_SystemManagement.SystemManagement().UserManagementUIFuncTest()
    Test_SystemManagement.SystemManagement().RoleManagementUIFuncTest()
    Test_SystemManagement.SystemManagement().OrganizationUIFuncTest()
    Test_SystemManagement.SystemManagement().JobSettingUIFuncTest()
    Test_SystemManagement.SystemManagement().DictionaryManagementUIFuncTest()
    Test_SystemManagement.SystemManagement().SettingsUIFuncTest()
    SurveyExaminationSystem_Driver.driver.quit()

